﻿using AbpVnext_Module.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace youzackcom.ISeivice
{
    public interface IPermissionService : ICrudAppService<PermissionDto, // 结果出参 
                                               PermissionPageResultDto,  //获取列表返回参数dto
                                               int, //主键
                                               PermissionPageDto, //查询入参
                                               PermissionCreateDto, //创建入参dto
                                               PermissionUpdateDto>  //更新入参dto
                                                                     //, IRemoteService  //自动Api
    {
        Task<string> CreatePerMange();

        //Task<string> GrantPermissonForuser(string userid, string permisionName);

        //Task<string> GrantPermissonForRole(string RoleName, List<string> permisionName);

        //Task<string> GrantPermissonForEmail(string RoleName, List<string> permisionName);
    }
}
